package org.dailymoon.classifieds;

public class Client {

	public static void main(java.lang.String args[]) {

//		try {
//			ClassifiedServiceStub stub = new ClassifiedServiceStub(null,
//					"http://localhost:8080/axis2/services/ClassifiedService");
//
//			CreateNewAdDocument cnaDoc = CreateNewAdDocument.Factory
//					.newInstance();
//
//			CreateNewAdDocument.CreateNewAd cnaReq = cnaDoc.addNewCreateNewAd();
//			cnaReq.setContent("Vintage 1963 T-Bird...");
//			cnaReq.setEndDate("7/4/06");
//
//			CreateNewAdResponseDocument cnaResDoc = stub.createNewAd(cnaDoc);
//			System.out.println("New ad ID number:  "
//					+ cnaResDoc.getCreateNewAdResponse().getReturn());
//
//			GetExistingAdsDocument geaDoc = GetExistingAdsDocument.Factory
//					.newInstance();
//			org.dailymoon.classifieds.GetExistingAdsDocument.GetExistingAds geaReq = geaDoc
//					.addNewGetExistingAds();
//
//		} catch (Exception e) {
//			e.printStackTrace();
//		}
	}
}